package com.springboot.learn.proxy.cglibdynamicsproxy;

/**
 * @author wtcode
 * @Description
 * @date 2025/2/26 - 9:04
 */
public class CglibHelloClass {

    /**
     * 方法1
     * @param userName
     * @return
     */
    public String sayHello(String userName){
        System.out.println("目标对象的方法执行了");
        return userName + " sayHello";
    }

    public String sayByeBye(String userName){
        System.out.println("目标对象的方法执行了");
        return userName + " sayByeBye";
    }
}
